<p>
<img src="./Imagen/Funcion/VTitulo.JPG" >
<strong>Cliente</strong> <hr style="position: relative">
<img src="./Imagen/Funcion/VListar.JPG">
</p>
<form id="fCli01" name="fCli01" method="post" action="ClienteListarServlet">
  <p>Buscar :
    <label>
    <input type="text" name="txtPerNombre" id="txtPerNombre" />
    </label>
    <label>
    <input type="submit" name="button" id="button" value="Buscar" />
    </label>    
  </p>
</form>
<table width="1100" height="65" border="1" cellpadding="0" cellspacing="0">
  <tr>
    <th width="50"  scope="col">Item</th>
    <th width="100" scope="col">Codigo</th>
    <th width="100" scope="col">Ruc</th>    
    <th width="200" scope="col">Nombre</th>
    <th width="300" scope="col">Domicilio</th>
    <th width="100" scope="col">Telefono</th>
    <th width="100" scope="col">Celular</th>    
    <th width="150" scope="col">Email</th>    
  </tr>
  <%@page import="java.util.*, veterinaria.modelo.Cliente" %>
  <%Collection<Cliente> arreglo = (ArrayList<Cliente>)request.getAttribute("aCliente");
    if (arreglo != null) { 
       int i = 1;
       for (Cliente x : arreglo) {%>  
            <tr>
                <td><%=i++ %></td>
                <td><% out.print(x.getCliCodigo()); %></td>
                <td><% out.print(x.getCliRuc()); %></td>
                <td><% out.print(x.getPersona().getPerNombre()); %></td>
                <td><% out.print(x.getPersona().getPerDomicilio()); %></td>
                <td><% out.print(x.getPersona().getPerTelefono()); %></td>
                <td><% out.print(x.getPersona().getPerCelular()); %></td>                
                <td><% out.print(x.getPersona().getPerCorreo()); %></td>                
            </tr>
       <% }  
    } %> 
</table>
